//
//  LTHmEcgGridView.h
//  TH_HM_CombineSDKTestDemo
//
//  Created by lanzhongping on 2020/11/23.
//  Copyright © 2020 None. All rights reserved.
//  ecg grid

#import <UIKit/UIKit.h>
#import "LTRingEcgDrawLineView.h"

NS_ASSUME_NONNULL_BEGIN

@interface LTHmEcgGridView : UIView
extern CGFloat const ECG_GRID_LINE_WIDTH;

@property(strong, nonatomic)UIColor *gridLineColor;

@property(strong, nonatomic)NSString *secondUnitString;
@property(assign, nonatomic)BOOL showSeconds; // 在底部显示秒数
@property(assign, nonatomic, readonly)CGFloat bottomSpaceForSecond; // 底部留白为了显示秒数;

-(CGFloat)historyTypeHeight;
-(CGFloat)lengthBySquareCount:(NSUInteger)count;

/// 整数倍的格子长度
/// - Parameter length:
+(CGFloat)integetLengthFrom:(CGFloat)length;
@end

NS_ASSUME_NONNULL_END
